import React from 'react';
import './index.css';
const Card: React.FC = () => {
    return (
        <div className="card">
            <header>
                <div>标题</div>
                <div>副标题</div>
            </header>
            <main>内容</main>
            <footer>
                <button onClick={() => window.onShow()}>确定</button>
                <button>取消</button>
            </footer>
        </div>
    );
};

export default Card;
